`ifndef TOP_TB_SV
`define TOP_TB_SV
`timescale 1ns / 1ps

module top_tb();

reg clk;
reg reset_n;


initial begin
  clk=0;
  reset_n=0;
  #100;
  reset_n =1;
#10000000;
  $finish;
end

always #(10) clk = ~clk;

dut_top i_dut_top(
    .clk      (clk),
    .rst_n    (reset_n)
);




initial	begin
	    $fsdbDumpfile("tb.fsdb");//这个是产生名为tb.fsdb的文件
	    $fsdbDumpvars;
end


endmodule
`endif
